package com.example.hy2110szyx.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.lang.reflect.ParameterizedType;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ReservedVo {

    private Integer id;

    private String identity;

    private String name;

    private Integer gender; //0-女 1-男

    private Date departureTime;

    private Date landingTime;

    private String fromCity;

    private String toCity;

    private String fno;

    private Double price;

    private String cno;

    private String rno;

    public ReservedVo(String identity, String name, Integer gender) {
        this.identity = identity;
        this.name = name;
        this.gender = gender;
    }
}
